package dao;

import bean.Role;
import bean.Users;

import java.util.List;

public interface UsersDao {
    public Users getUser(String loginname,String password);
    public List<Users> getUserList(int index,int pagesize);
    public int getTotal();
    public int addUser(Users users);
    public List<Role> getRoleList();
    public Users findUserById(int userid);
    public int updateUserById(Users users);
    public int deleteUserById(int userid);
}
